<?php header("Content-type: text/html; charset=utf-8");?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="es" xml:lang="es">
<head>
	<?php echo $this->Html->charset(); ?>
	<title>
		<?php __('Epicrisis:'); ?>
		<?php echo $title_for_layout; ?>
	</title>
	<?php
		echo $this->Html->meta('icon');
		echo $this->Html->css('rm-front');
		echo $this->Html->css('tabs-slideshow');
		echo $scripts_for_layout;
		echo $html->meta('icon','/images/favicon.ico', array('type' =>'icon'));
		echo $javascript->link('prototype-1.7');
		echo $javascript->link('scriptaculous');
		echo $javascript->link('jquery.tools.min'); // Incluye jQuery 1.4.2
	?>
</head>
<body>
<script type="text/javascript">$j = jQuery.noConflict();</script> 
<div id="fb-root"></div>
<script>(function(d, s, id) {
  var js, fjs = d.getElementsByTagName(s)[0];
  if (d.getElementById(id)) return;
  js = d.createElement(s); js.id = id;
  js.src = "//connect.facebook.net/en_US/all.js#xfbml=1&appId=98759276096";
  fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
	<!-- start header -->
	<div id="header"> 
		<div id="rowheader">
			<div id="logo"><a href="/"><img src="/images/logo.png" border="0" hspace="7" vspace="5" width="140" align="absbottom"></a><img src="/images/icon_beta.png" border="0" align="absbottom" vspace="7" hspace="7"></div>
			<div id="accountmenu"> 
					<a href="/contacto" class="link_destacado2">Contacto</a>
					<a href="#" onclick="jQuery('.loginmenu').toggle();" class="link_destacado">Acceder</a> 
					<div class="loginmenu"> 
						<br/>
						<form method="post" action="/users/login" accept-charset="utf-8"> 
						<p> 
							<label for="user_name"><b>Usuario</b></label>
							<input name="data[User][username]" TABINDEX="1" type="text" maxlength="255" id="UserUsername" class="textfield" /> 
						</p> 
						<p> 
							<label for="password"><b>Contraseña</b></label>
							<input type="password" TABINDEX="2" name="data[User][password]" id="UserPassword" class="textfield" />
						</p> 
						<div class="submit"><input type="submit" TABINDEX="3" value="Acceder" /></div>
						<!-- <ul> 
							<li><a href="#">¿Olvidó el Usuario o la Contraseña?</a></li> 
						</ul>  -->
					</form> 
					</div> 
					<!-- <a href="/clients/add" id="btnctanueva">Crear una Cuenta</a> -->
			</div> 
		</div> 
	</div> 
	<?php echo $this->Session->flash(); ?> 
	<!-- end header -->

	<div id="rowheader" style="height: 276px;">
		<table border="0" style="width: 950px; background: none;" align="center">
		<tr>
			<td valign="top" style="border-bottom: none;">

			  <p><a href="http://wayra.org/es/proyectos-seleccionados-argentina" target="_blank"><img src="/images/wayra.png"></a></p>

		<!-- end publicidad -->
			</td>
			<td  style="border-bottom: none;">
			  <div id="launchrock" >

					<table style="border: none; width: 50px; background: none;" align="center">
					<tr >
						<td style="border-bottom: none;background: none;"><div class="fb-like" data-href="http://www.epicrisisweb.com" data-send="true" data-layout="button_count" data-width="116" data-show-faces="false" data-colorscheme="dark"></div></td>
						<td style="border-bottom: none;background: none;"><span class="share-tweet"> 
							<iframe allowtransparency="true" frameborder="0" scrolling="no" src="http://platform.twitter.com/widgets/tweet_button.html" style="width:100px; height:22px;"></iframe> 
					</span></td>
						<td style="border-bottom: none;background: none;"><span class="share-gplus" style="margin-left: 10px"> 
						<script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script>
						<g:plusone></g:plusone>
					</span></td>
					</tr>
					</table>

					
					
					
					<div id="emailbox">
						<h2 id="makea">Epicrisis es un servicio de Historia Clínica Electrónica y Agenda de Turnos ofrecido via Web.</h2>
						<p style="font-style: italic;font-family: Georgia, Times, serif; color: #E9E9E9; text-align: left;font-size: 1.1em;">Próximamente. Déjenos su email para mantenerlo informado:</p>
						<form method="post" action="/feedbacks/newsletter" accept-charset="utf-8"> 
						<input type="text" id="email" name="data[User][email]" />
						<input type="image" name="submit" id="submit" style="width: 50px; margin-bottom: 2px;" align="absbottom" src="/images/Submit-Button.png" />
						</form>
					</div>
		<!-- end newsletter -->
			</td>
		</tr>
		</table>
	</div>	
	<!-- start page -->
	<div id="page">
		<?php echo $content_for_layout; ?>
	</div>
	<div style="clear: both;">&nbsp;</div>
	<!-- end page -->
	<div id="footer">
		<?php echo $this->element('pie'); ?>
		<?php echo $this->element('analytics'); ?>
	</div>

</body>
</html>